package cn.edu.jju.psytest.model.vo;

import java.util.Date;
import java.util.List;

public class QuizVo {

	private int quizId;
	private String name;
	private String description;
	private Date createdDate;
	private List<_QuestionVo> questionVos;

	/**
	 * Getters And Setters
	 * @return
	 */
	public int getQuizId() {
		return quizId;
	}

	public void setQuizId(int quizId) {
		this.quizId = quizId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public List<_QuestionVo> getQuestionVos() {
		return questionVos;
	}

	public void setQuestionVos(List<_QuestionVo> questionVos) {
		this.questionVos = questionVos;
	}

	/**
	 * Inner Class
	 * @author Administrator
	 *
	 */
	 public static class _QuestionVo {
		private int questionId;
		private String content;
		private List<String> options;

		public int getQuestionId() {
			return questionId;
		}

		public void setQuestionId(int questionId) {
			this.questionId = questionId;
		}

		public String getContent() {
			return content;
		}

		public void setContent(String content) {
			this.content = content;
		}

		public List<String> getOptions() {
			return options;
		}

		public void setOptions(List<String> options) {
			this.options = options;
		}
	}
}
